interface IUserInfo {
  id?: number
  name?: string
  mobile?: string
  address?: string
  role?: 1 | 0 // 用户角色：1小程序管理员（使用核销功能），0普通用户
}
interface IEditUser {
  name: string
  mobile: string
  code: string
}
interface IDemand {
  service_id: number
  service_title: string
  service_con: string
  service_image: string
  id: number
  create_time: string
}

interface ICoupon {
  id: number
  amount: string
  receive_type: string
  create_time: string
  useStart_time: string
  useEnd_time: string
  checked?: boolean
}
interface IPageCouponRes<T> {
  data: T[]
  total: number
  use_coupon: string // 最大核销金额
  coupon_use_describe: string // 优惠券使用说明
}

interface ICommission {
  id: number
  amount: string
  source_member_name: string
}
interface IPageCommissionRes<T> {
  data: T[]
  total: number
}

interface ICouponRecord {
  id: number
  amount: string
  hx_time: string
}
